<template>
  <div class="color-box">
    <span class="color-label">{{title}}</span>
    <el-color-picker v-bind="{...$props,...$attrs}"/>
  </div>
</template>

<script setup lang="ts">
const props=defineProps({
  title:String,
})
</script>



<style scoped>
.color-box{
  margin-right: 10px;
}
.color-label{
  margin-right: 5px;
}
</style>